package com.bjdd.jdy.entity;

import android.os.Parcel;
import android.os.Parcelable;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/5/3.
 */
@Entity
public class NewsBean {
    @Id(autoincrement = true)
    private long messageCenterId;
    private int type;
    private String content;
    private int sort;
    private long createTime;
    @Generated(hash = 2079004150)
    public NewsBean(long messageCenterId, int type, String content, int sort,
            long createTime) {
        this.messageCenterId = messageCenterId;
        this.type = type;
        this.content = content;
        this.sort = sort;
        this.createTime = createTime;
    }
    @Generated(hash = 1662878226)
    public NewsBean() {
    }
    public long getMessageCenterId() {
        return this.messageCenterId;
    }
    public void setMessageCenterId(long messageCenterId) {
        this.messageCenterId = messageCenterId;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public int getSort() {
        return this.sort;
    }
    public void setSort(int sort) {
        this.sort = sort;
    }
    public long getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

}
